package cn.tedu.submarine;
import javax.swing.ImageIcon;
//鱼雷
public class Torpedo extends SeaObject {
    public Torpedo(int x, int y){
        super(5,8,x,y,1);
    }
    public void step(){
        y-=speed; //向上
    }
    public ImageIcon getImage() {
        return Images.torpedo;
    }
}
